<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="MvcContrib.FluentHtml.ModelViewPage<Universum.Model.Domain.Feedbacks.Feedback>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Feedback</h2>
	<%
		if (String.IsNullOrEmpty((String)ViewData["message"]).IsFalse())
		{
			%>
			<span class=".notice"><%= ViewData["message"]%></span>
			<%
		}		
		
		 %>
  
      <% using (Html.BeginForm<FeedbackController>(controller=>controller.Register(null))){%>

        <fieldset>
            <legend>Comment</legend>
            <p>
            <%= this.TextArea( model => model.Comment) %>
               
               
            </p>
           
            <p>
               <%=this.SubmitButton("Send feedback")%>
            </p>
        </fieldset>

    <% } %>
   

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptPlaceHolder" runat="server">
<% Html.RenderPartial("EditorAndDateUserControl"); %>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="Breadcrumbs" runat="server">
<%=Html.Breadcrumb().Home().AppendText("Feedback").End() %>
</asp:Content>

